package com.hourses.pojo;

import java.io.Serializable;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

/**
 * 角色表
 * role
 */
@Data
public class Role implements Serializable {
    private Integer roleId;

    private String roleName;

    private String roleDesc;

    private String roleCode;

    /**
     * roleState 的值：1 启用 0 禁用
     */
    private String roleState;

    private Integer createBy;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    private Integer updateBy;

    private Date updateTime;

    private String getCode;



    private static final long serialVersionUID = 1L;
}